<?php
namespace bee;
/**
 *
 * @author dzelenika
 *
 */
interface IeventDispatcher extends Isingleton
{
  public function registerEvent($event, $order);

  public function registerObject($object);

  public function dispatchEvent($event, $args = array(), $singleDispatch = false);

  public function dispatchNextEvent();

}